package cn.yufan.config;

//@Configuration
public class MyWebConfigure /*extends WebMvcConfigurerAdapter */{
//
//    @Value("${web.upload-location}")
//    private  String myResourcelLocation;
//    @Value("${web.upload-handler}")
//    private  String myResourceHandler;
//    public void addResourceHandlers(ResourceHandlerRegistry registry) {
//        myResourcelLocation="file:"+myResourcelLocation;
//        myResourceHandler=myResourceHandler+"**";
//        registry.addResourceHandler(myResourceHandler).addResourceLocations(myResourcelLocation);
//        super.addResourceHandlers(registry);
//    }
}
